<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/common/SyntaxHighlighter/styles/shCore.css}" type="text/css">
    <link rel="stylesheet" th:href="@{/common/SyntaxHighlighter/styles/shThemeDefault.css}" type="text/css">

    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/XRegExp.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shCore.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shBrushJava.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shBrushJScript.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shBrushSql.js}"></script>
</head>
<body>
<div>
    <div th:each="menu,iterStat : ${list}">
        <pre th:text="${menu}" id="code" name="code" class="brush: java;highlight:[1,2]">
            <div ></div>
        </pre>
    </div>

</div>
</body>
<script type="text/javascript">
    // $(document).ready(function(){
    //     alert(1);
    //     console.log($("#javadetail").attr("class"));
    // });
    // SyntaxHighlighter.defaults['toolbar'] = false;
    // SyntaxHighlighter.all()
    // debugger;
    // console.log($("#javadetail").attr("class"));
    // $("#javadetail").attr("class","brush: java;highlight:"+"[1,2]");
</script>
</html>